package com.java.imauoj.moudel;

public class ProblemProg {

    private int problem_id;
    private String input;
    private String output;
    private String sample_input;
    private String sample_output;
    private String time_limit;
    private int memory_limit;
    private String code;

    public ProblemProg() {
    }

    public ProblemProg(int problem_id, String input, String output, String sample_input, String sample_output, String time_limit, int memory_limit, String code) {
        this.problem_id = problem_id;
        this.input = input;
        this.output = output;
        this.sample_input = sample_input;
        this.sample_output = sample_output;
        this.time_limit = time_limit;
        this.memory_limit = memory_limit;
        this.code = code;
    }

    public int getProblem_id() {
        return problem_id;
    }

    public void setProblem_id(int problem_id) {
        this.problem_id = problem_id;
    }

    public String getInput() {
        return input;
    }

    public void setInput(String input) {
        this.input = input;
    }

    public String getOutput() {
        return output;
    }

    public void setOutput(String output) {
        this.output = output;
    }

    public String getSample_input() {
        return sample_input;
    }

    public void setSample_input(String sample_input) {
        this.sample_input = sample_input;
    }

    public String getSample_output() {
        return sample_output;
    }

    public void setSample_output(String sample_output) {
        this.sample_output = sample_output;
    }

    public String getTime_limit() {
        return time_limit;
    }

    public void setTime_limit(String time_limit) {
        this.time_limit = time_limit;
    }

    public int getMemory_limit() {
        return memory_limit;
    }

    public void setMemory_limit(int memory_limit) {
        this.memory_limit = memory_limit;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "ProblemProg{" +
                "problem_id=" + problem_id +
                ", input='" + input + '\'' +
                ", output='" + output + '\'' +
                ", sample_input='" + sample_input + '\'' +
                ", sample_output='" + sample_output + '\'' +
                ", time_limit='" + time_limit + '\'' +
                ", memory_limit=" + memory_limit +
                ", code='" + code + '\'' +
                '}';
    }
}
